--- /dev/null
+<!-- test all valid container attributes -->
+<interface>
+ <object class="GtkBox">
+ <child>
+ <object class="GtkLabel" id="widget1"/>
+ <packing>
+ <property name="expand" translatable="yes" comments="foo" context="bar">True</property>
+ </packing>
+ </child>
+ <focus-chain>
+ <widget name="widget1"/>
+ </focus-chain>
+ </object>
+</interface>
--- /dev/null
+ERROR: g-markup-error-quark 6
+.:7:32 element 'property' requires attribute 'name'
--- /dev/null
+<!-- invalid child property attribute -->
+<interface>
+ <object class="GtkBox">
+ <child>
+ <object class="GtkLabel" id="widget1"/>
+ <packing>
+ <property food="good"/>
+ </packing>
+ </child>
+ </object>
+</interface>
--- /dev/null
+ERROR: gtk-builder-error-quark 1
+.:7:17 Unsupported tag for GtkContainer: <warbl>
--- /dev/null
+<!-- invalid packing element -->
+<interface>
+ <object class="GtkBox">
+ <child>
+ <object class="GtkLabel" id="widget1"/>
+ <packing>
+ <warbl/>
+ </packing>
+ </child>
+ </object>
+</interface>
--- /dev/null
+ERROR: g-markup-error-quark 6
+.:5:16 element 'widget' requires attribute 'name'
--- /dev/null
+<!-- missing focus chain widget name attribute -->
+<interface>
+ <object class="GtkBox">
+ <focus-chain>
+ <widget/>
+ </focus-chain>
+ </object>
+</interface>
--- /dev/null
+ERROR: g-markup-error-quark 6
+.:5:28 element 'widget' requires attribute 'name'
--- /dev/null
+<!-- wrong focus chain widget name attribute -->
+<interface>
+ <object class="GtkBox">
+ <focus-chain>
+ <widget food="good"/>
+ </focus-chain>
+ </object>
+</interface>
--- /dev/null
+ERROR: gtk-builder-error-quark 1
+.:5:15 Unsupported tag for GtkContainer: <warbl>
--- /dev/null
+<!-- wrong focus chain element -->
+<interface>
+ <object class="GtkBox">
+ <focus-chain>
+ <warbl/>
+ </focus-chain>
+ </object>
+</interface>
--- /dev/null
+ERROR: g-markup-error-quark 4
+.:7:1 attribute 'try' invalid for element 'packing'
--- /dev/null
+<!-- invalid container packing attribute -->
+<interface>
+ <object class="GtkBox">
+ <child>
+ <object class="GtkLabel" id="widget1"/>
+ <packing try="this">
+ </packing>
+ </child>
+ </object>
+</interface>